home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / restore.z / restore
Encoding:
Text File  |  2002-10-03  |  3.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. RRRREEEESSSSTTTTOOOORRRREEEE((((1111MMMM))))                                                        RRRREEEESSSSTTTTOOOORRRREEEE((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      restore - restore files from backup
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////rrrreeeessssttttoooorrrreeee ----ffff _s_o_u_r_c_e [ ----vvvv ] [ ----rrrr _r_o_o_t ] [ ----EEEE _f_i_l_e ] [----llll
  13.      _f_i_l_e ]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      _r_e_s_t_o_r_e is a privileged command that restores files from a backup made by
  17.      _t_a_r(1) or by _c_p_i_o(1).  _r_e_s_t_o_r_e is little more than a wrapper around
  18.      _c_p_i_o(1) so that privileged users can restore from backups.  The
  19.      _b_a_c_k_u_p(1M) privileged command uses _c_p_i_o(1) to create its backups.
  20.  
  21.      _r_e_s_t_o_r_e can be run by ordinary users without going through _r_u_n_p_r_i_v(1M).
  22.      Ordinary users cannot write files in directories they don't have
  23.      permission to write, and they cannot overwrite files they don't have
  24.      permission to write.
  25.  
  26. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  27.      ----ffff _s_o_u_r_c_e Specify the _s_o_u_r_c_e where the backup is stored.  This is
  28.                typically a tape device such as /_d_e_v/_t_a_p_e or
  29.                _u_s_e_r@_r_e_m_o_t_e_h_o_s_t:/_d_e_v/_t_a_p_e, but can also be a _t_a_r(1) or _c_p_i_o(1)
  30.                file for backups to disk.
  31.  
  32.      ----vvvv        Output of the restore is to be verbose.  Specifying ----vvvv to
  33.                _b_a_c_k_u_p causes vvvv to be included in the arguments to _c_p_i_o(1).
  34.  
  35.      ----rrrr _r_o_o_t   Restore files relative to _r_o_o_t.  Normally, files are restored
  36.                to their original locations, which would overwrite any files of
  37.                the same name already there.  The ----rrrr option can be used to
  38.                restore files to an alternate location.  If the _t_a_r(1) or
  39.                _c_p_i_o(1) archive was created with absolute pathnames, this
  40.                option will have no effect.
  41.  
  42.      ----EEEE _f_i_l_e   Specify an input file (_f_i_l_e) that contains a list of filenames
  43.                to be extracted from the backup (one filename per line).
  44.  
  45.      ----llll _f_i_l_e   List files in the backup without restoring any of those files.
  46.                The list of files will be displayed to stdout and will also be
  47.                sorted and written to the named output file (_f_i_l_e).
  48.  
  49. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  50.      sysmgr(1M), runpriv(1M), cpio(1), BackupAndRestoreManager(1M),
  51.      backup(1M).
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.